import request from "@/utils/request";

// 查询用户获取票信息列表
export function listBizUserSongsTicket(query){
  return request({
    url: "/biz/bizUserSongsTicket/list",
    method: "get",
    params: query
  })
}

// 查询用户获取票信息详细
export function getBizUserSongsTicket(id){
  return request({
    url: "/biz/bizUserSongsTicket/" + id,
    method: "get"
  })
}

// 新增用户获取票信息
export function addBizUserSongsTicket(data){
  return request({
    url: "/biz/bizUserSongsTicket",
    method: "post",
    data: data
  })
}

// 修改用户获取票信息
export function updateBizUserSongsTicket(data){
  return request({
    url: "/biz/bizUserSongsTicket",
    method: "put",
    data: data
  })
}

// 删除用户获取票信息
export function delBizUserSongsTicket(id){
  return request({
    url: "/biz/bizUserSongsTicket/" + id,
    method: "delete"
  })
}

// 查询最大编号
export function findMaxSort(){
  return request({
    url: "/biz/bizUserSongsTicket/findMaxSort",
    method: "get"
  })
}
// 导出用户获取票信息
export function exportBizUserSongsTicket (query){
  return request({
    url: "/biz/bizUserSongsTicket/export",
    method: "get",
    params: query
  })
}
